package com.cssy.xxkj.logic.dao;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;

import com.cssy.xxkj.logic.entity.LogicPurchaseReturnItemDO;
import com.plat.exception.SyBaseException;

/**
 * 数据访问对象接口
 * @since 2014-09-23
 */
public interface LogicPurchaseReturnItemDAO extends LogicBizDAO<LogicPurchaseReturnItemDO>{

    /**
     * 插入数据
     * @param logicPurchaseReturnItemDO
     * @return 插入数据的主键
     */
    public String insertLogicPurchaseReturnItemDO(LogicPurchaseReturnItemDO logicPurchaseReturnItemDO);
    
    
    /**
     * 更新记录
     * @param logicPurchaseWareItemDO
     * @return 受影响的行数
     */
    public Integer updateLogicPurchaseReturnItemDO(LogicPurchaseReturnItemDO pcsrItem) throws DataAccessException;
    
    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicPurchaseReturnItemDOByPrimaryKey(String id)throws DataAccessException;;

    /**
     * 统计记录数
     * @param logicPurchaseReturnItemDO
     * @return 查出的记录数
     */
    public Integer countLogicPurchaseReturnItemDOByExample(LogicPurchaseReturnItemDO logicPurchaseReturnItemDO);

    /**
     * 获取对象列表
     * @param logicPurchaseReturnItemDO
     * @return 对象列表
     */
    public List<LogicPurchaseReturnItemDO> findListByExample(LogicPurchaseReturnItemDO logicPurchaseReturnItemDO);
    
    public List<LogicPurchaseReturnItemDO> findListByMap(Map<String, Object> paramMap)throws SyBaseException;

}